package com.zuoyeben123.testzybhtml;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

/**
 * Created by wangliang on 2017/11/24.
 */

public class TestHtmlActivity extends AppCompatActivity {

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_html);

        findViewById(R.id.btn_refresh).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                CommonWebView webView = findViewById(R.id.webview);
                webView.loadUrl("file:///android_asset/www/wxtk.html");
            }
        });
    }
}
